package com.atguigu08._interface.exer2;

/**
 * ClassName: Compare0bject
 * Package: com.atguigu08._interface.exer2
 * Description:
 *
 * @Author ZY
 * @Create 00:23
 * @Version 1.0
 */
public interface Compare0bject {
    //若返回值是 0，代表相等;若为正数，代表当前对象大;负数代表当前对象小
    public int compareTo(Object o);
}
